home *** CD-ROM | disk | FTP | other *** search
- IFND GMS_TASKS_H
- GMS_TASKS_H SET 1
-
- /*
- ** $VER: tasks.h V0.6B
- **
- ** (C) Copyright 1996-1997 DreamWorld Productions.
- ** All Rights Reserved
- */
-
- IFND EXEC_TYPES_I
- include 'exec/types.i'
- ENDC
-
- /****************************************************************************
- ** This task structure is lodged into tc_UserData (see exec/tasks.i), so
- ** do not change that field when using GMS. A UserData field exists
- ** here so that you may use it if necessary. Other than this, DO NOT USE
- ** ANY GMSTASK FIELDS FOR ANYTHING OTHER THAN DEBUGGING PURPOSES.
- */
-
- struct GMSTask {
- APTR UserData; /* Pointer to user data, no restrictions */
- APTR TaskName; /* Name of the task, if specified */
-
- /* Private from here on */
-
- APTR MasterPrefs; /* Library preferences */
- APTR ScreenPrefs; /* Screen preferences */
- APTR SoundPrefs; /* Sound preferences */
- APTR BlitterPrefs; /* Blitter preferences */
- APTR ResourceChain; /* The resource chain, private */
- ULONG ReqStatus; /* Private, used internally */
- ULONG BlitKey; /* Resource key */
- ULONG AudioKey; /* Resource key */
- ULONG ViewKey; /* Resource key */
- APTR DestructStack; /* Stack to use for DestructCode */
- APTR DestructCode; /* Pointer to self destruct code routine */
- BYTE AlertState; /* Private */
- BYTE Pad; /* Reserved */
- };
-
- ENDC /* GMS_TASKS_H */
-